package com.show.mytest;

public class Test02_MyRunnable {
    public static void main(String[] args) {
        // 创建一个MyRunnable对象
        MyRunnable runnable = new MyRunnable();
        // 创建一个线程对象传入MyRunnable对象
        Thread thread = new Thread(runnable);
        thread.start();
    }
}
